<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!-- 房间入住信息的模态窗口，默认是隐藏的 -->
<div class="modal fade" id="borrowUser" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h3 id="myModalLabel">增加员工</h3>
            </div>
            <div class="modal-body">
                <form id="borrowU">
                    员工姓名：<input type="text" name="name" id="name" class="form-control"/><br/>
                    员工性别：<input type="text" name="sex" id="sex" class="form-control"/><br/>
                    电话：<input type="text" name="phone" id="phone" class="form-control"><br/>
                    账号：<input type="text" name="user" id="user" class="form-control"/><br/>
                    密码：<input type="text" name="password" id="password" class="form-control"/><br/>
                </form>
            </div>
            <div class="modal-footer">
                <%--点击保存按钮时，隐藏模态窗口并调用js文件中的borrow()方法--%>
                <button class="btn btn-success" data-dismiss="modal" aria-hidden="true" onclick="addUser()"
                        disabled="true" id="save">保存
                </button>
                <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">关闭</button>
            </div>
        </div>
    </div>
</div>

